package org.jeecg.modules.agCarGps.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 车辆定位数据
 * @Author: jeecg-boot
 * @Date:   2020-08-24
 * @Version: V1.0
 */
@Data
@TableName("ag_car_gps")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ag_car_gps对象", description="车辆定位数据")
public class AgCarGps implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**设备编号*/
	@Excel(name = "设备编号", width = 15)
    @ApiModelProperty(value = "设备编号")
    private String imei;
	/**车牌号*/
	@Excel(name = "车牌号", width = 15, dictTable = "car_info", dicText = "car_no", dicCode = "id")
	@Dict(dictTable = "car_info", dicText = "car_no", dicCode = "id")
    @ApiModelProperty(value = "车牌号")
    private String cheph;
	/**纬度*/
	@Excel(name = "纬度", width = 15)
    @ApiModelProperty(value = "纬度")
    private String weid;
	/**经度*/
	@Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private String jingd;
	/**行驶速度*/
	@Excel(name = "行驶速度", width = 15)
    @ApiModelProperty(value = "行驶速度")
    private String xingssd;
	/**方向*/
	@Excel(name = "方向", width = 15)
    @ApiModelProperty(value = "方向")
    private String fangx;
	/**gps状态*/
	@Excel(name = "gps状态", width = 15, dicCode = "gpsStatus")
	@Dict(dicCode = "gpsStatus")
    @ApiModelProperty(value = "gps状态")
    private String valid;
    /**传输完成状态*/
    @Excel(name = "传输完成状态", width = 15, dicCode = "chuanswczt")
    @Dict(dicCode = "chuanswczt")
    @ApiModelProperty(value = "传输完成状态")
    private String chuanswczt;
}
